package com.lm56.web.queryhistory;

import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * Created by Kelvin Yeung on 2016/12/10.
 */
public class QueryHistoryQueryForm {

    public Integer queryType;
    public Long userId;
    public String waybillNo;
    public String queryParams;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    public Date startTime;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    public Date endTime;

    public Integer getQueryType() {
        return queryType;
    }

    public void setQueryType(Integer queryType) {
        this.queryType = queryType;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getWaybillNo() {
        return waybillNo;
    }

    public void setWaybillNo(String waybillNo) {
        this.waybillNo = waybillNo;
    }

    public String getQueryParams() {
        return queryParams;
    }

    public void setQueryParams(String queryParams) {
        this.queryParams = queryParams;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }
}
